package cn.topevery.garden.entity.po;

import cn.topevery.garden.framework.base.BaseEntity;
import hw.topevery.framework.annotation.DbTable;
import hw.topevery.framework.annotation.DbTableField;
import hw.topevery.framework.enums.DbTypeEnum;
import lombok.Data;
import org.locationtech.jts.geom.Geometry;

import java.time.LocalDateTime;

/**
 * 
 *
 * @author code-generate
 * @date 2021-08-06
 */
@Data
@DbTable(tableName = "t_parking_lot")
public class ParkingLot extends BaseEntity {
        /**
     * 停车场名称
     */
    @DbTableField(columnName = "c_name", dbType = DbTypeEnum.VARCHAR)
    public String name ;

    /**
     * 停车场名称简称
     */
    @DbTableField(columnName = "c_name_short", dbType = DbTypeEnum.VARCHAR)
    public String nameShort ;

    /**
     * 片区id t_extent.c_id
     */
    @DbTableField(columnName = "c_extent_id", dbType = DbTypeEnum.INTEGER)
    public Integer extentId ;

    /**
     * 片区
     */
    @DbTableField(columnName = "c_extent_name", dbType = DbTypeEnum.VARCHAR)
    public String extentName ;

    /**
     * 公园id t_park.c_id
     */
    @DbTableField(columnName = "c_park_id", dbType = DbTypeEnum.INTEGER)
    public Integer parkId ;

    /**
     * 公园
     */
    @DbTableField(columnName = "c_park_name", dbType = DbTypeEnum.VARCHAR)
    public String parkName ;

    /**
     * 总停车位个数
     */
    @DbTableField(columnName = "c_parking_space_cnt", dbType = DbTypeEnum.INTEGER)
    public Integer parkingSpaceCnt ;

    /**
     * 停车场普通车位个数
     */
    @DbTableField(columnName = "c_parking_space_ordinary_cnt", dbType = DbTypeEnum.INTEGER)
    public Integer parkingSpaceOrdinaryCnt ;

    /**
     * 停车场中大型车位个数
     */
    @DbTableField(columnName = "c_parking_space_big_cnt", dbType = DbTypeEnum.INTEGER)
    public Integer parkingSpaceBigCnt ;

    /**
     * 停车场带充电桩车位个数
     */
    @DbTableField(columnName = "c_parking_space_charging_cnt", dbType = DbTypeEnum.INTEGER)
    public Integer parkingSpaceChargingCnt ;

    /**
     * 停车场地址
     */
    @DbTableField(columnName = "c_address", dbType = DbTypeEnum.VARCHAR)
    public String address ;

    /**
     * 停车场状态（1 正常、0 停用）
     */
    @DbTableField(columnName = "c_status", dbType = DbTypeEnum.INTEGER)
    public Integer status ;

    /**
     * 收费规则
     */
    @DbTableField(columnName = "c_charge_rule", dbType = DbTypeEnum.VARCHAR)
    public String chargeRule ;

    /**
     * 出口个数
     */
    @DbTableField(columnName = "c_out_cnt", dbType = DbTypeEnum.INTEGER)
    public Integer outCnt ;

    /**
     * 入口个数
     */
    @DbTableField(columnName = "c_in_cnt", dbType = DbTypeEnum.INTEGER)
    public Integer inCnt ;

    /**
     * 创建时间
     */
    public LocalDateTime dbCreateDate ;

    /**
     * 创建人ID 对应t_sys_user.c_id
     */
    public Integer dbCreateId ;

    /**
     * 更新时间
     */
    public LocalDateTime dbLastUpdateDate ;

    /**
     * 更新人员ID 对应t_sys_user.c_id
     */
    public Integer dbLastUpdateId ;

    /**
     * 设施Id  t_facilities.c_id
     */
    @DbTableField(columnName = "c_facilities_id", dbType = DbTypeEnum.INTEGER)
    public Integer facilitiesId ;

    /**
     * 状态时间
     */
    @DbTableField(columnName = "c_date", dbType = DbTypeEnum.TIMESTAMP)
    public LocalDateTime date ;

    /**
     * 空闲普通车位个数
     */
    @DbTableField(columnName = "c_parking_space_ordinary_cnt_free", dbType = DbTypeEnum.INTEGER)
    public Integer parkingSpaceOrdinaryCntFree ;

    /**
     * 空闲中大型车位个数
     */
    @DbTableField(columnName = "c_parking_space_big_cnt_free", dbType = DbTypeEnum.INTEGER)
    public Integer parkingSpaceBigCntFree ;

    /**
     * 空闲带充电桩车位个数
     */
    @DbTableField(columnName = "c_parking_space_charging_cnt_free", dbType = DbTypeEnum.INTEGER)
    public Integer parkingSpaceChargingCntFree ;

    /**
     * 范围 bd09
     */
    @DbTableField(columnName = "c_geom_bd09", dbType = DbTypeEnum.OTHER)
    public Geometry geomBd09 ;

    /**
     * 范围  wgs84
     */
    @DbTableField(columnName = "c_geom_wgs", dbType = DbTypeEnum.OTHER)
    public Geometry geomWgs ;

    /**
     * 范围 大地2000
     */
    @DbTableField(columnName = "c_geom_2000", dbType = DbTypeEnum.OTHER)
    public Geometry geom2000 ;

    /**
     * 范围  火星
     */
    @DbTableField(columnName = "c_geom_gcj02", dbType = DbTypeEnum.OTHER)
    public Geometry geomGcj02 ;

    /**
     * 范围 百度魔卡托平面
     */
    @DbTableField(columnName = "c_geom_mkt", dbType = DbTypeEnum.OTHER)
    public Geometry geomMkt ;


}
